@extends('admin.layout.common')
@section('content')
    <link rel="stylesheet" type="text/css" href="{{URL::asset('css/music/notarizeMessage.css')}}">
    <style>
        header ul li:last-child img {
            width: 30px;
            transform: translateY(0%);
        }
    </style>
    <div class="content">
        <div class="content">
            <h1 class="h1">音乐作品上线</h1>
            <div class="content_content">
                <form action="{{url('admin/musicToSp')}}" method="post">
                    <p><label for="">选择公司
                            <select name="company_id">
                                <option value="">选择公司</option>
                                @foreach($company as $v)
                                <option value="{{$v['id']}}">{{$v['company_name']}}</option>
                                @endforeach
                            </select>
                            （默认隐藏）
                        </label>
                    </p>
                    <div class="table_box">
                        <table>
                            <tr>
                                <th rowspan="2">CP名称</th>
                                <th colspan="8">数据区</th>
                            </tr>
                            <tr>
                                <th>纯音乐</th>
                                <th>音频</th>
                                <th>伴奏</th>
                                <th>MV</th>
                                <th>卡拉OK</th>
                                <th>短视频</th>
                                <th>合计作品</th>
                                <th>合计数据</th>
                            </tr>
                            @foreach($list as $k => $v)
                            <tr>
                                <td>{{$v['simple_name']}}</td>
                                <td>{{$v['cstatus']}}</td>
                                <td>{{$v['ystatus']}}</td>
                                <td>{{$v['bstatus']}}</td>
                                <td>{{$v['mstatus']}}</td>
                                <td>{{$v['kstatus']}}</td>
                                <td>{{$v['dstatus']}}</td>
                                <td>{{$v['total1']}}</td>
                                <td>{{$v['total2']}}</td>
                            </tr>
                            @endforeach
                        </table>
                    </div>
                        {{csrf_field()}}
                        <p style="margin-left: 165px">平台上线时间：<input type="date"  name="onlineTime" required></p>
                        <input type="hidden" name="type" value="{{$type}}"/>
                        <input type="hidden" name="library" value="{{request('library') ?? 1}}"/>
                        <div class="btn_box">
                            <button type="submit" class="submit">确认</button>
                        </div>
                </form>
            </div>
        </div>
    </div>
    @endsection
{{--<script type="text/javascript" src="{{URL::asset('common/js/jquery-1.10.1.min.js')}}"></script>--}}